package cn.cqautotest.cqviehelper.utils;

import android.os.Handler;
import android.os.HandlerThread;
import android.os.Looper;

public class HandlerUtils {

    public static Handler getBackHandler() {
        HandlerThread back = new HandlerThread("back");
        back.start();
        return new Handler(back.getLooper());
    }

    public static Handler getMainHandler() {
        return new Handler(Looper.getMainLooper());
    }
}
